home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000100_icon-group-sender _Mon Jun 22 12:50:51 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
3KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA11483
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Mon, 22 Jun 1998 12:50:51 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA27571; Mon, 22 Jun 1998 12:50:41 -0700
Message-Id: <3.0.5.32.19980622102318.00a34530@post.its.mcw.edu>
X-Sender: cdt@post.its.mcw.edu
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
Date: Mon, 22 Jun 1998 10:23:18
To: icon-group@optima.CS.Arizona.EDU
From: Chris Tenaglia <cdt@post.its.mcw.edu>
Subject: RE: Wanted : Small meta data language
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 1808
I designed a similar database package years ago. I think what you
mean is an INI file design. I called my package Attercop, wrote it
around 1983, and ported to Icon in 1989. The database is stored
in a flat file with \xFE as field delimiters. I thought about having an
\xFF delimiter for a field with "many" potential elements.
Typically, data is in a .dat file. In this example, the metafile is called
userbase.atcp. So typing "attercop userbase" opens this metafile
which tells attercop where the data is, how it's layed out, and also
contains some display, sort, and print preferences. attercop then
displays a menu for performing various maintenance and reporting
on the data. But with a known interface other programs (even CGI)
could make use of it. A unix compressed version of attercop is
downloadable from http://www.execpc.com/~cdt if one wants to
look more closely at it.
____________________________________________________________________________
___________
data in /export/home/cdt/srch/userbase.dat
header is General User Accounts
fields are UserName UID_____ GID_____ Phone FullName Dept Email_
__ HomeDir_ Profile_
lengths are 10 6 6 14 30 35 35 21 8
look up 1
sort on 5
print using 1 57 mishp5/200_dplx n/a
title begin
MCWSUN USER ACCOUNTS REPORT &PAGE
FOR &DATE
USERNAME UID GID PHONE NUMBER FULLNAME
LAST
NAME DEPARTMENT NAME EMAIL ADDRESS
HOMEDIR PROFILE
========== ====== ====== ============== ==============================
====
================ ===================================
=========================
========== ===================== =======
title end
____________________________________________________________________________
____________